package com.xxzuibang.day11.final_;

public class FinalExercise01 {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.area();
    }

    public static class Circle {
        double r = 1;
        double area = 0;
        final double PAI = 3.14;
        final double PAI1;
        final double PAI2;

        {
            PAI2 = 3.16;
        }


        public void area() {
            System.out.println(area = r * r * PAI);
            System.out.println(area = r * r * PAI1);
            System.out.println(area = r * r * PAI2);
        }

        public Circle() {
            PAI1 = 3.15;
        }


    }
}
